@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './comm.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: PingFang SC-常规体, PingFang SC;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}


.cus-nowrap {
  .el-table,
  &.el-table {
    .cell {
      white-space: nowrap;
    }
  }
}

// 自定义 搜索表单 布局
.form-container {
  display: flex;
  .form-left-box {
    flex: 1 1 0%;
  }
  .form-right-box {
    padding-left: 30px;
    text-align: right;
  }
}
.el-form--inline .form-container .form-left-box .el-form-item {
  margin-right: 20px;
}

/* step 样式 **/
.el-step__icon{
  width: 50px;
  height: 50px;
  background: #FFFFFF;
  border: 2px solid #D9D9D9;
  .el-step__icon-inner{
    font-size: 24px;
    font-family: PingFang SC-中粗体, PingFang SC;
    font-weight: normal;
    color: #D9D9D9;
  }
}
.el-step__line{
  top: 25px !important;
  border: 1px solid #D8D8D8;
}
.el-step__title{
  font-size: 14px;
  font-family: PingFang SC-常规体, PingFang SC;
  font-weight: normal;
  color: rgba(0,0,0,0.85);
}
.el-step__description{
  white-space: nowrap;
  font-size: 12px;
  font-family: PingFang SC-常规体, PingFang SC;
  font-weight: normal;
  color: #666666;
}
.is-finish .el-step__icon{
  border: 2px solid #1890FF;
  .el-step__icon-inner{
    color: #1890FF;
  }
}
// .is-finish .el-step__line{
//   border: 1px solid #1890FF;
// }

.el-step__head.is-process{
  border-color: #C0C4CD;
}
.el-step__title.is-process{
  color: #C0C4CD;
}
.el-dialog {
  text-align: left;
  .el-dialog__header {
    background-color: #f2f3f5;
    padding: 11px 24px;
    font-weight: 600;
    line-height: 22px;
    .el-dialog__title {
      font-size: 14px;
    }
    .el-dialog__headerbtn {
      top: 14px;
    }
  }
  .el-dialog__body {
    padding: 24px;
  }
}